package com.enation.app.javashop.manager.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by kingapex on 2018/3/27.
 *
 * @author kingapex
 * @version 1.0
 * @since 7.0.0
 * 2018/3/27
 */
@RestController
public class DemoManagerController {

    @GetMapping("/demo")
    public String demo(){

        return "demo";
    }

    @GetMapping("/restart")
    public String restart(){

        return "restart";
    }
}
